export interface AliOssContextBaseValue {
  /**
   * @desc 应用id
   */
  accessKeyId: string;
  /**
   * @desc 密钥key
   */
  accessKeySecret: string;
  /**
   * @desc 限制要求参数
   * @example {"expiration": "2120-01-01T12:00:00.000Z","conditions": [["content-length-range", 0, 104857600]]}
   * @default '{"expiration": "2120-01-01T12:00:00.000Z","conditions": [["content-length-range", 0, 104857600]]}'
   */
  policy?: string | object;
  /**
   * @desc oss地址
   */
  region: string;
  /**
   * @desc oss Bucket
   */
  bucket: string;
}

export interface YmFilePathContextType {
  /**
   * @desc 内部规范
   * @default "default"
   */
  phone?: string;
  /**
   * @desc 内部规范
   * @default "Web"
   */
  system: 'Android' | 'iOS' | 'Web' | 'WX' | 'Cloud';
  client:
    | 'BumblebeeApp'
    | 'MegatronApp'
    | 'MegatronWeb'
    | 'Boss'
    | 'WX'
    | 'Cloud';
  /**
   * @desc 业务路径
   */
  busPath?: string;
}
